package com.shenzhenai.dn_compose_learn

/**
 * @author huangzehui
 * @date 25/7/2025 下午11:01 周五
 * @description
 */
object SampleData {

    // Sample conversation data
    val conversationSample by lazy {
        val list = mutableListOf<Message>()

        val tempStr = "是靠近对方可是大家看法就深刻搭街坊"

        repeat(20) {
            var str = tempStr

            for (index in 0 until it) {
                str += "${index}" + tempStr
            }

            list.add(
                Message(
                    author = "content ${it}",
                    body = str
                )
            )
        }

        list
    }

    data class Message(
        val author: String,
        val body: String
    )
}